﻿@model IEnumerable<CardInChina.Data.Entity.Entity.News>
<div class="news">
    <div class="lm">
        <h2>
            站点公告<span>@Html.ActionLink("更多...", "Index", "News")</span></h2>
    </div>
    <div class="news_list">
        <div class="news_list_bg">
            <ul class="tabcon">
                <!--<li class="fore">
                                <a href=""><img src="images/fore.gif" /></a><br />
                                <a href="">本周特价：mycard台湾一卡通 </a>
                            </li>-->
                @for (int i = 0; i < Model.Count(); i++)
                {
                    if (i == 0)
                    {
                    <li class="tabcon_frist"><span>· </span>
                        @Html.ActionLink(Model.ElementAt(i).Title, "Detail", "News", new { year = 2011, month = 7, day = 20, title = Model.ElementAt(i).Title }, new { title = Model.ElementAt(i).Title })
                    </li>
                    }
                    else
                    {
                    <li><span>· </span>
                        @Html.ActionLink(Model.ElementAt(i).Title, "Detail", "News", new { year = 2011, month = 7, day = 20, title = Model.ElementAt(i).Title }, new { title = Model.ElementAt(i).Title })
                    </li>               
                    }
                }
            </ul>
        </div>
    </div>
    <div class="lb">
    </div>
</div>
